<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'buildingserviceequipment-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerProvided'); ?>
		<?php echo $form->textField($model,'BoilerProvided'); ?>
		<?php echo $form->error($model,'BoilerProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerNoOfUnitsProvided'); ?>
		<?php echo $form->textField($model,'BoilerNoOfUnitsProvided'); ?>
		<?php echo $form->error($model,'BoilerNoOfUnitsProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerFuel'); ?>
		<?php echo $form->textField($model,'BoilerFuel'); ?>
		<?php echo $form->error($model,'BoilerFuel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerCapacity'); ?>
		<?php echo $form->textField($model,'BoilerCapacity',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'BoilerCapacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerContainer'); ?>
		<?php echo $form->textField($model,'BoilerContainer'); ?>
		<?php echo $form->error($model,'BoilerContainer'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerLocation'); ?>
		<?php echo $form->textField($model,'BoilerLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'BoilerLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerLPGInstallationCoveredWithPermit'); ?>
		<?php echo $form->textField($model,'BoilerLPGInstallationCoveredWithPermit'); ?>
		<?php echo $form->error($model,'BoilerLPGInstallationCoveredWithPermit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'BoilerFuelWithStoragePermit'); ?>
		<?php echo $form->textField($model,'BoilerFuelWithStoragePermit'); ?>
		<?php echo $form->error($model,'BoilerFuelWithStoragePermit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetProvided'); ?>
		<?php echo $form->textField($model,'GeneratorSetProvided'); ?>
		<?php echo $form->error($model,'GeneratorSetProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorType'); ?>
		<?php echo $form->textField($model,'GeneratorType'); ?>
		<?php echo $form->error($model,'GeneratorType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetFuel'); ?>
		<?php echo $form->textField($model,'GeneratorSetFuel'); ?>
		<?php echo $form->error($model,'GeneratorSetFuel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetCapacity'); ?>
		<?php echo $form->textField($model,'GeneratorSetCapacity',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'GeneratorSetCapacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetLocation'); ?>
		<?php echo $form->textField($model,'GeneratorSetLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'GeneratorSetLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetDikesOrBundwallProvided'); ?>
		<?php echo $form->textField($model,'GeneratorSetDikesOrBundwallProvided'); ?>
		<?php echo $form->error($model,'GeneratorSetDikesOrBundwallProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetContainer'); ?>
		<?php echo $form->textField($model,'GeneratorSetContainer'); ?>
		<?php echo $form->error($model,'GeneratorSetContainer'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetDispensingSystem'); ?>
		<?php echo $form->textField($model,'GeneratorSetDispensingSystem'); ?>
		<?php echo $form->error($model,'GeneratorSetDispensingSystem'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetOutputCapacity'); ?>
		<?php echo $form->textField($model,'GeneratorSetOutputCapacity',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'GeneratorSetOutputCapacity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetKvaMechanicalPermit'); ?>
		<?php echo $form->textField($model,'GeneratorSetKvaMechanicalPermit',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'GeneratorSetKvaMechanicalPermit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetDateIssued'); ?>
		<?php echo $form->textField($model,'GeneratorSetDateIssued'); ?>
		<?php echo $form->error($model,'GeneratorSetDateIssued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetFuelWithStoragePermit'); ?>
		<?php echo $form->textField($model,'GeneratorSetFuelWithStoragePermit'); ?>
		<?php echo $form->error($model,'GeneratorSetFuelWithStoragePermit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'GeneratorSetOther'); ?>
		<?php echo $form->textField($model,'GeneratorSetOther',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'GeneratorSetOther'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityProvided'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityProvided'); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityEnclosureProvided'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityEnclosureProvided'); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityEnclosureProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityFireResistive'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityFireResistive'); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityFireResistive'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityFireProtectionProvided'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityFireProtectionProvided'); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityFireProtectionProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityType'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityType',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityFrequencyOfCollectionOrDisposal'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityFrequencyOfCollectionOrDisposal',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityFrequencyOfCollectionOrDisposal'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RefuseGarbageHandlingFacilityHowCollected'); ?>
		<?php echo $form->textField($model,'RefuseGarbageHandlingFacilityHowCollected',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'RefuseGarbageHandlingFacilityHowCollected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ElectricalSystemIsThereAnyHazard'); ?>
		<?php echo $form->textField($model,'ElectricalSystemIsThereAnyHazard'); ?>
		<?php echo $form->error($model,'ElectricalSystemIsThereAnyHazard'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ElectricalSystemSpecifyLocation'); ?>
		<?php echo $form->textField($model,'ElectricalSystemSpecifyLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'ElectricalSystemSpecifyLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MechanicalSystemIsThereAnyMechanicalHazard'); ?>
		<?php echo $form->textField($model,'MechanicalSystemIsThereAnyMechanicalHazard'); ?>
		<?php echo $form->error($model,'MechanicalSystemIsThereAnyMechanicalHazard'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MechanicalSystemSpecifyLocation'); ?>
		<?php echo $form->textField($model,'MechanicalSystemSpecifyLocation',array('size'=>60,'maxlength'=>60)); ?>
		<?php echo $form->error($model,'MechanicalSystemSpecifyLocation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MechanicalSystemNoOfElevatorsProvided'); ?>
		<?php echo $form->textField($model,'MechanicalSystemNoOfElevatorsProvided'); ?>
		<?php echo $form->error($model,'MechanicalSystemNoOfElevatorsProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MechanicalSystemFiremansElevatorProvided'); ?>
		<?php echo $form->textField($model,'MechanicalSystemFiremansElevatorProvided'); ?>
		<?php echo $form->error($model,'MechanicalSystemFiremansElevatorProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'MechanicalSystemFiremansKeyOrSwitchProvided'); ?>
		<?php echo $form->textField($model,'MechanicalSystemFiremansKeyOrSwitchProvided'); ?>
		<?php echo $form->error($model,'MechanicalSystemFiremansKeyOrSwitchProvided'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OtherBuildingServiceSystemsWaterTreatmentFacility'); ?>
		<?php echo $form->textField($model,'OtherBuildingServiceSystemsWaterTreatmentFacility'); ?>
		<?php echo $form->error($model,'OtherBuildingServiceSystemsWaterTreatmentFacility'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OtherBuildingServiceSystemsWasteWaterOrSewageTreatmentFacility'); ?>
		<?php echo $form->textField($model,'OtherBuildingServiceSystemsWasteWaterOrSewageTreatmentFacility'); ?>
		<?php echo $form->error($model,'OtherBuildingServiceSystemsWasteWaterOrSewageTreatmentFacility'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->